﻿.chatLists{
    width: 18%;
    float: left;
    border: 1px solid #CCC;
    border-right: none;
}
.chatLists .title{
    height: 30px;
    text-align: center;
    line-height: 30px;
    background: #267cb7;
    color: #EEE;
    /*border-bottom: 2px solid #00375d;*/
}
.chatLists .title a{ text-decoration: none;color: #EEE;}
.chatLists .row{
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    height: 50px;
    border-bottom: 1px solid #CCC;
    cursor: pointer;
    color: #000;
}
.chatLists .selected{
    background: #16a0d3;
    color: #FFF;
}

.chatLists .row .phone{
    display: block;
    height: 30px;
    line-height: 30px;
    color: inherit;
    text-decoration: none;
}
.chatLists .row .name{
    display: block;
    height: 20px;
}

.chatBox{
    width: 80%;
    float: left;
    border: 1px solid #CCC;
}

.chatBox .title{
    height: 30px;
    font-size: 24px;
    line-height: 24px;
    text-align: center;
    padding: 10px;
    background: #267cb7;
    color: #FFF;
}
.chatBox .showBox{
    padding: 20px;
    min-height: 300px;
    max-height: 500px;
    overflow-y:scroll;
    overflow-x: hidden;
    background: #EEE;
}
.chatBox .showBox .oneMessage{
    width: 80%;
    padding: 20px 0;
}
.chatBox .showBox .oneMessage .name{
    font-size: 16px;
    font-weight: bold;
    border-bottom: 1px dashed #CCC;
    padding-bottom: 3px;
}
.right{
    float: right;
}
.right .name,.right .content{
    text-align: right;
}
.chatBox .showBox .oneMessage .content{
    padding: 10px;
    font-size: 14px;
    text-indent: 2em;
    line-height: 22px;
}
.chatBox .showBox .oneMessage .content img{
    height: auto;
    width: auto;
    max-width: 500px;
    max-height: 800px;
    margin: 0 auto;
}

.chatBox .inputBox{

}
.chatBox .inputBox .text{
    border-top: 3px solid #CCC;
    border-bottom: 2px solid #CCC;
}
.chatBox .inputBox .text textarea{
    width: 100%;
    height: 100px;
}
.chatBox .inputBox .file{

}
.chatBox .inputBox .file .green{
    float: right;
}
